## EasyMod 0.3.0 Compatible
##############################################################  
## MOD Title:          Birthday Premod
## MOD Author:	     Diablo Gamer < info@dgpromod.com > ( Michael Wiekens ) http://mods.dgpromod.com/
## MOD Description:    This mod will add a birthday field into your
##                     user's profile and make users age viewable
##                     to others when viewing posts.
##
## MOD Version:        1.6.3
## 
## Installation Level: Easy
## Installation Time:  2 Minutes 
## EasyMod installation Time: 1 Minute
##
## Included Files: 20
##
##      root/index.php
##      root/viewtopic.php
##	  root/birthday_popup.php
##      root/admin/admin_board.php
##      root/admin/admin_users.php
##      root/includes/functions.php
##      root/includes/page_header.php
##      root/includes/usercp_avatar.php
##      root/includes/usercp_register.php
##      root/includes/usercp_viewprofile.php
##      root/language/lang_english/lang_admin.php
##      root/language/lang_english/lang_main.php
##	  root/templates/subSilver/greeting_popup.tpl
##      root/templates/subSilver/index_body.tpl
##      root/templates/subSilver/overall_header.tpl
##      root/templates/subSilver/profile_add_body.tpl
##      root/templates/subSilver/profile_view_body.tpl
##	  root/templates/subSilver/viewtopic_body.tpl
##      root/templates/subSilver/admin/board_config_body.tpl
##      root/templates/subSilver/admin/user_edit_body.tpl    
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################

#
#-----[ SQL ]-------------------------------------------------
#
ALTER TABLE phpbb_users ADD user_birthday INT DEFAULT '999999' not null;
ALTER TABLE phpbb_users ADD user_next_birthday_greeting INT DEFAULT '0' not null;
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_required', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_greeting', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_user_age', '100');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('min_user_age', '5');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_check_day', '7');

# 
#-----[ COPY ]------------------------------------------------ 
#
copy root/index.php to index.php
copy root/viewtopic.php to viewtopic.php
copy root/birthday_popup.php to birthday_popup.php
copy root/admin/admin_board.php to admin/admin_board.php
copy root/admin/admin_users.php to admin/admin_users.php
copy root/includes/functions.php to includes/functions.php
copy root/includes/page_header.php to includes/page_header.php
copy root/includes/usercp_avatar.php to includes/usercp_avatar.php
copy root/includes/usercp_register.php to includes/usercp_register.php
copy root/includes/usercp_viewprofile.php to includes/usercp_viewprofile.php 
copy root/language/lang_english/lang_admin.php to language/lang_english/lang_admin.php
copy root/language/lang_english/lang_main.php to language/lang_english/lang_main.php 
copy root/templates/subSilver/greeting_popup.tpl to templates/subSilver/greeting_popup.tpl 
copy root/templates/subSilver/index_body.tpl to templates/subSilver/index_body.tpl
copy root/templates/subSilver/overall_header.tpl to templates/subSilver/overall_header.tpl
copy root/templates/subSilver/profile_add_body.tpl to templates/subSilver/profile_add_body.tpl
copy root/templates/subSilver/profile_view_body.tpl to templates/subSilver/profile_view_body.tpl
copy root/templates/subSilver/viewtopic_body.tpl to templates/subSilver/viewtopic_body.tpl
copy root/templates/subSilver/admin/board_config_body.tpl to templates/subSilver/admin/board_config_body.tpl
copy root/templates/subSilver/admin/user_edit_body.tpl to templates/subSilver/admin/user_edit_body.tpl

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM


